package entity;

public class User {
	private int id;
	private String account;
	private String password;
	private String registerTime;
	private int score;
	private int totallTurnNum;
	private int winTimes;
	private int failedTimes;
	private int drawTimes;
	
	
	public int getId() {
		return id;
	}
	
	public int getFailedTimes() {
		return failedTimes;
	}

	public void setFailedTimes(int failedTimes) {
		this.failedTimes = failedTimes;
	}

	public void setId(int id) {
		this.id = id;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getRegisterTime() {
		return registerTime;
	}
	public void setRegisterTime(String registerTime) {
		this.registerTime = registerTime;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	public int getTotallTurnNum() {
		return totallTurnNum;
	}
	public void setTotallTurnNum(int totallTurnNum) {
		this.totallTurnNum = totallTurnNum;
	}
	public int getWinTimes() {
		return winTimes;
	}
	public void setWinTimes(int winTimes) {
		this.winTimes = winTimes;
	}
	public int getDrawTimes() {
		return drawTimes;
	}
	public void setDrawTimes(int drawTimes) {
		this.drawTimes = drawTimes;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", account=" + account + ", password=" + password + ", registerTime=" + registerTime
				+ ", score=" + score + ", totallTurnNum=" + totallTurnNum + ", winTimes=" + winTimes + ", drawTimes="
				+ drawTimes + "]";
	}
	
}
